package com.bpc.cs.service;

import java.util.List;

import com.bpc.cs.managed.dvo.FactorChoiceDVO;
import com.bpc.cs.managed.dvo.RuleDVO;

/**
 * @author   phan_tp
 * @datetime Dec 07, 2012 : 5:28:32 PM
 */
public interface IFactorChoiceService {

	/**
	 * Get list factor choice by RuleID
	 * @param int ruleID
	 * @return List<FactorChoiceDVO>
	 */
	public List<FactorChoiceDVO> getFactorChoiceByRuleID(int ruleID);

	/**
	 * Add new factor choice
	 * @param int ruleID
	 * @param String factor choice
	 * @param int score
	 * @return Boolean TRUE : add successful
	 * 				   FALSE: add failed
	 */
	public boolean addFactorChoice(RuleDVO ruleID, String factorchoice, int score);

	/**
	 * Remove factorChoice
	 * @param int factorChoiceID
	 * @return boolean TRUE : remove successfully
	 * 				   FALSE: remove failed
	 */
	public boolean removeFactorChoice(int factorChoiceID);
}
